//
//  RBCellModel.h
//  Master
//
//  Created by Lan on 2017/6/1.
//  Copyright © 2017年 LongCai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>

@interface RBCellModel : NSObject

/** 这个是不需要赋值的 */
@property(nonatomic, strong) NSIndexPath *indexPath;

/* cell的重用标识符 */
@property(nonatomic, copy)NSString *reuseCellIdentifier;
/* 区别数据的类型标识符 */
@property(nonatomic, assign)NSInteger type;
/** cell高度,默认UITableViewAutomaticDimension */
@property(nonatomic, assign) float cellHeight;
/** 供给cell的数据(可以选择用binder类配置),或者继承忽略这个属性 */
@property(nonatomic, strong) id cellData;
/* 点击cell的回调 */
@property(nonatomic, copy)void(^cellSelectBlock)(NSIndexPath *indexPath);
/** cell内控件点击回调 */
@property(nonatomic, copy) void(^eventBlock)(id data);
@property(nonatomic, copy) void(^eventBlock1)(NSInteger type, NSInteger index, id data);

#pragma mark - UICollectionView

@property(nonatomic, assign) CGSize itemSize;

@end
